<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\common\controller\ExpertSms;

/**
 * 首页接口
 */
class Index extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    /**
     * 首页
     *
     */
    public function index()
    {
        $expertSms = new ExpertSms();
        $phone = '18089159527';
        $data = ['name'=> '有才', 'company'=>'有才企业','project'=>'有才','time1'=>'2026-12-12 13:30'];
        $expertSms->sendExpertSms($phone,$data); 
    }
}
